using System;
using Comms;
using Engine;

namespace RuthlessConquest {
    public class ServerHumanPlayer {
        public ServerGame Game;

        public bool IsGameCreator;

        public Faction Faction;

        public string Name;

        public Guid Guid;

        public Platform Platform;

        public PeerData PeerData;

        public Version Version;

        public DynamicArray<Order> Orders = new();

        public ServerHumanPlayer(ServerGame game,
            bool isGameCreator,
            Faction faction,
            string name,
            Guid guid,
            Platform platform,
            PeerData peerData,
            Version version) {
            Game = game;
            IsGameCreator = isGameCreator;
            Faction = faction;
            Name = name;
            Guid = guid;
            Platform = platform;
            PeerData = peerData;
            peerData.Tag = this;
            Version = version;
        }
    }
}